﻿using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;

namespace DapperHelper.SqlBuilder
{
    public interface ICondition<T>
    {
        IList<string> Conditions { get; }

        void Condition(params Expression<Func<T, bool>>[] expressions);

        string AddCondition(Expression<Func<T, bool>> expr);
    }
}